@import "./var.less";
@import "./reset.less";

body {
  margin: 0;
  min-height: 100vh;
  // background-color: var(--color-bg);
  font-size: 14px;

  #app {
    width: 100%;
    height: 100vh;
  }
}

.main-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  .content-wrap {
    flex: 1;
    background-color: var(--color-w);
    padding: calc(var(--padding-base) * 4);
    border-radius: calc(var(--border-radius-base) * 1.5);
    box-shadow: var(--box-shade-base);
  }
}

.footer-wrap {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--color-border);
  padding: calc(var(--padding-base) * 4) 0 calc(var(--padding-base) * 2) 0;
  margin-top: calc(var(--margin-base) * 4);
  margin-left: calc(var(--padding-base) * -4);
  margin-right: calc(var(--padding-base) * -4);
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.ripple-ball {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  animation: ripple .7s;
}

@keyframes ripple {
  0% {
    transform: scale(1);
  }
  /* 波纹扩张 */
  85% {
    transform: scale(10);
  }
  100% {
    opacity: 0;
  }
}

.mb-2base {
  margin-bottom: calc(var(--margin-base) * 2);
}
